package com.jingdianjichi.home.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Component
@FeignClient("ape-cloud-sku")
public interface SkuFeignService {

    @GetMapping("/test")
    String test();

    @GetMapping("/testTimeOut")
    String testTimeOut();

    @GetMapping("/testHystrixTimeout")
    String testHystrixTimeout();

    @GetMapping("/testHystrix")
    String testHystrix();
}
